from mediator import mediator
from mediator . tests . test_assistant import make_mediator_test_keyword_args

class localization_fake :
    def __init__ ( self ) :
        self . _application_title = None
        self . _browser_creation_time = None
        self . _browser_existing_name = None
        self . _browser_modification_time = None
        self . _browser_number = None
        self . _browser_return = None
        self . _browser_size = None
        self . _copy_menu_already_exists = None
        self . _copy_menu_copy = None
        self . _copy_menu_new_name = None
        self . _copy_menu_no_entries = None
        self . _copy_menu_title = None
        self . _creation_menu_already_exists = None
        self . _creation_menu_create = None
        self . _creation_menu_new_name = None
        self . _creation_menu_title = None
        self . _edit_menu_continue = None
        self . _edit_menu_return_to_main_menu = None
        self . _edit_menu_save = None
        self . _edit_menu_save_as = None
        self . _edit_menu_title = None
        self . _editor_menu_button = None
        self . _editor_title = None
        self . _main_menu_copy = None
        self . _main_menu_create = None
        self . _main_menu_open = None
        self . _main_menu_quit = None
        self . _main_menu_rename = None
        self . _main_menu_title = None
        self . _open_menu_new_name = None
        self . _open_menu_no_entries = None
        self . _open_menu_open = None
        self . _open_menu_title = None
        self . _rename_menu_already_exists = None
        self . _rename_menu_new_name = None
        self . _rename_menu_no_entries = None
        self . _rename_menu_rename = None
        self . _rename_menu_title = None
        self . _save_as_menu_already_exists = None
        self . _save_as_menu_new_name = None
        self . _save_as_menu_save = None
        self . _save_as_menu_title = None
        self . _welcome_footing = None
        self . _welcome_header = None
        self . _welcome_title = None
    def localization_application_title ( self ) :
        return self . _application_title
    def localization_browser_creation_time ( self ) :
        return self . _browser_creation_time
    def localization_browser_existing_name ( self ) :
        return self . _browser_existing_name
    def localization_browser_modification_time ( self ) :
        return self . _browser_modification_time
    def localization_browser_number ( self ) :
        return self . _browser_number
    def localization_browser_return ( self ) :
        return self . _browser_return
    def localization_browser_size ( self ) :
        return self . _browser_size
    def localization_copy_menu_already_exists ( self ) :
        return self . _copy_menu_already_exists
    def localization_copy_menu_copy ( self ) :
        return self . _copy_menu_copy
    def localization_copy_menu_new_name ( self ) :
        return self . _copy_menu_new_name
    def localization_copy_menu_no_entries ( self ) :
        return self . _copy_menu_no_entries
    def localization_copy_menu_title ( self ) :
        return self . _copy_menu_title
    def localization_creation_menu_already_exists ( self ) :
        return self . _creation_menu_already_exists
    def localization_creation_menu_create ( self ) :
        return self . _creation_menu_create
    def localization_creation_menu_new_name ( self ) :
        return self . _creation_menu_new_name
    def localization_creation_menu_title ( self ) :
        return self . _creation_menu_title
    def localization_edit_menu_continue ( self ) :
        return self . _edit_menu_continue
    def localization_edit_menu_return_to_main_menu ( self ) :
        return self . _edit_menu_return_to_main_menu
    def localization_edit_menu_save ( self ) :
        return self . _edit_menu_save
    def localization_edit_menu_save_as ( self ) :
        return self . _edit_menu_save_as
    def localization_edit_menu_title ( self ) :
        return self . _edit_menu_title
    def localization_editor_menu_button ( self ) :
        return self . _editor_menu_button
    def localization_editor_title ( self ) :
        return self . _editor_title
    def localization_main_menu_copy ( self ) :
        return self . _main_menu_copy
    def localization_main_menu_create ( self ) :
        return self . _main_menu_create
    def localization_main_menu_open ( self ) :
        return self . _main_menu_open
    def localization_main_menu_quit ( self ) :
        return self . _main_menu_quit
    def localization_main_menu_rename ( self ) :
        return self . _main_menu_rename
    def localization_main_menu_title ( self ) :
        return self . _main_menu_title
    def localization_open_menu_new_name ( self ) :
        return self . _open_menu_new_name
    def localization_open_menu_no_entries ( self ) :
        return self . _open_menu_no_entries
    def localization_open_menu_open ( self ) :
        return self . _open_menu_open
    def localization_open_menu_title ( self ) :
        return self . _open_menu_title
    def localization_rename_menu_already_exists ( self ) :
        return self . _rename_menu_already_exists
    def localization_rename_menu_new_name ( self ) :
        return self . _rename_menu_new_name
    def localization_rename_menu_no_entries ( self ) :
        return self . _rename_menu_no_entries
    def localization_rename_menu_rename ( self ) :
        return self . _rename_menu_rename
    def localization_rename_menu_title ( self ) :
        return self . _rename_menu_title
    def localization_save_as_menu_already_exists ( self ) :
        return self . _save_as_menu_already_exists
    def localization_save_as_menu_new_name ( self ) :
        return self . _save_as_menu_new_name
    def localization_save_as_menu_save ( self ) :
        return self . _save_as_menu_save
    def localization_save_as_menu_title ( self ) :
        return self . _save_as_menu_title
    def localization_welcome_footing ( self ) :
        return self . _welcome_footing
    def localization_welcome_header ( self ) :
        return self . _welcome_header
    def localization_welcome_title ( self ) :
        return self . _welcome_title

class mediator_localization_tests : 
    'mediator_localization'
    def __init__ ( self , test ) :
        self . _test = test
        self . _localization = localization_fake ( )
        self . _mediator = mediator ( )
        self . _mediator . register_modules ( ** make_mediator_test_keyword_args \
            ( 'localization' 
            , self . _localization 
            , None
            ) )
    def test_localization_application_title ( self ) :
        self . _localization . _application_title = 'my application'
        self . _test . assume_equal ( self . _mediator . localization_application_title ( ) , 'my application' )
    def test_localization_browser_creation_time ( self ) :
        self . _localization . _browser_creation_time = 'my time'
        self . _test . assume_equal ( self . _mediator . localization_browser_creation_time ( ) , 'my time' )
    def test_localization_browser_existing_name ( self ) :
        self . _localization . _browser_existing_name = 'my name'
        self . _test . assume_equal ( self . _mediator . localization_browser_existing_name ( ) , 'my name' )
    def test_localization_browser_modification_time ( self ) :
        self . _localization . _browser_modification_time = 'my time'
        self . _test . assume_equal ( self . _mediator . localization_browser_modification_time ( ) , 'my time' )
    def test_localization_browser_number ( self ) :
        self . _localization . _browser_number = 'my number'
        self . _test . assume_equal ( self . _mediator . localization_browser_number ( ) , 'my number' )
    def test_localization_browser_return ( self ) :
        self . _localization . _browser_return = 'my return'
        self . _test . assume_equal ( self . _mediator . localization_browser_return ( ) , 'my return' )
    def test_localization_browser_size ( self ) :
        self . _localization . _browser_size = 'my size'
        self . _test . assume_equal ( self . _mediator . localization_browser_size ( ) , 'my size' )
    def test_localization_copy_menu_already_exists ( self ) :
        self . _localization . _copy_menu_already_exists = 'my already exists'
        self . _test . assume_equal ( self . _mediator . localization_copy_menu_already_exists ( ) , 'my already exists' )
    def test_localization_copy_menu_copy ( self ) :
        self . _localization . _copy_menu_copy = 'my copy'
        self . _test . assume_equal ( self . _mediator . localization_copy_menu_copy ( ) , 'my copy' )
    def test_localization_copy_menu_new_name ( self ) :
        self . _localization . _copy_menu_new_name = 'my name'
        self . _test . assume_equal ( self . _mediator . localization_copy_menu_new_name ( ) , 'my name' )
    def test_localization_copy_menu_no_entries ( self ) :
        self . _localization . _copy_menu_no_entries = 'my no entries'
        self . _test . assume_equal ( self . _mediator . localization_copy_menu_no_entries ( ) , 'my no entries' )
    def test_localization_copy_menu_title ( self ) :
        self . _localization . _copy_menu_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_copy_menu_title ( ) , 'my title' )
    def test_localization_creation_menu_already_exists ( self ) :
        self . _localization . _creation_menu_already_exists = 'my already exists'
        self . _test . assume_equal ( self . _mediator . localization_creation_menu_already_exists ( ) , 'my already exists' )
    def test_localization_creation_menu_create ( self ) :
        self . _localization . _creation_menu_create = 'my create'
        self . _test . assume_equal ( self . _mediator . localization_creation_menu_create ( ) , 'my create' )
    def test_localization_creation_menu_new_name ( self ) :
        self . _localization . _creation_menu_new_name = 'my name'
        self . _test . assume_equal ( self . _mediator . localization_creation_menu_new_name ( ) , 'my name' )
    def test_localization_creation_menu_title ( self ) :
        self . _localization . _creation_menu_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_creation_menu_title ( ) , 'my title' )
    def test_localization_edit_menu_continue ( self ) :
        self . _localization . _edit_menu_continue = 'my continue'
        self . _test . assume_equal ( self . _mediator . localization_edit_menu_continue ( ) , 'my continue' )
    def test_localization_edit_menu_return_to_main_menu ( self ) :
        self . _localization . _edit_menu_return_to_main_menu = 'my return'
        self . _test . assume_equal ( self . _mediator . localization_edit_menu_return_to_main_menu ( ) , 'my return' )
    def test_localization_edit_menu_save ( self ) :
        self . _localization . _edit_menu_save = 'my save'
        self . _test . assume_equal ( self . _mediator . localization_edit_menu_save ( ) , 'my save' )
    def test_localization_edit_menu_save_as ( self ) :
        self . _localization . _edit_menu_save_as = 'my save as'
        self . _test . assume_equal ( self . _mediator . localization_edit_menu_save_as ( ) , 'my save as' )
    def test_localization_edit_menu_title ( self ) :
        self . _localization . _edit_menu_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_edit_menu_title ( ) , 'my title' )
    def test_localization_editor_menu_button ( self ) :
        self . _localization . _editor_menu_button = 'my menu button'
        self . _test . assume_equal ( self . _mediator . localization_editor_menu_button ( ) , 'my menu button' )
    def test_localization_editor_title ( self ) :
        self . _localization . _editor_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_editor_title ( ) , 'my title' )
    def test_localization_main_menu_copy ( self ) :
        self . _localization . _main_menu_copy = 'my copy'
        self . _test . assume_equal ( self . _mediator . localization_main_menu_copy ( ) , 'my copy' )
    def test_localization_main_menu_create ( self ) :
        self . _localization . _main_menu_create = 'my create'
        self . _test . assume_equal ( self . _mediator . localization_main_menu_create ( ) , 'my create' )
    def test_localization_main_menu_open ( self ) :
        self . _localization . _main_menu_open = 'my open'
        self . _test . assume_equal ( self . _mediator . localization_main_menu_open ( ) , 'my open' )
    def test_localization_main_menu_quit ( self ) :
        self . _localization . _main_menu_quit = 'my quit'
        self . _test . assume_equal ( self . _mediator . localization_main_menu_quit ( ) , 'my quit' )
    def test_localization_main_menu_rename ( self ) :
        self . _localization . _main_menu_rename = 'my rename'
        self . _test . assume_equal ( self . _mediator . localization_main_menu_rename ( ) , 'my rename' )
    def test_localization_main_menu_title ( self ) :
        self . _localization . _main_menu_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_main_menu_title ( ) , 'my title' )
    def test_localization_open_menu_new_name ( self ) :
        self . _localization . _open_menu_new_name = 'my new name'
        self . _test . assume_equal ( self . _mediator . localization_open_menu_new_name ( ) , 'my new name' )
    def test_localization_open_menu_no_entries ( self ) :
        self . _localization . _open_menu_no_entries = 'my no entries'
        self . _test . assume_equal ( self . _mediator . localization_open_menu_no_entries ( ) , 'my no entries' )
    def test_localization_open_menu_open ( self ) :
        self . _localization . _open_menu_open = 'my open'
        self . _test . assume_equal ( self . _mediator . localization_open_menu_open ( ) , 'my open' )
    def test_localization_open_menu_title ( self ) :
        self . _localization . _open_menu_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_open_menu_title ( ) , 'my title' )
    def test_localization_rename_menu_already_exists ( self ) :
        self . _localization . _rename_menu_already_exists = 'my already exists'
        self . _test . assume_equal ( self . _mediator . localization_rename_menu_already_exists ( ) , 'my already exists' )
    def test_localization_rename_menu_new_name ( self ) :
        self . _localization . _rename_menu_new_name = 'my new name'
        self . _test . assume_equal ( self . _mediator . localization_rename_menu_new_name ( ) , 'my new name' )
    def test_localization_rename_menu_no_entries ( self ) :
        self . _localization . _rename_menu_no_entries = 'my no entries'
        self . _test . assume_equal ( self . _mediator . localization_rename_menu_no_entries ( ) , 'my no entries' )
    def test_localization_rename_menu_rename ( self ) :
        self . _localization . _rename_menu_rename = 'my rename'
        self . _test . assume_equal ( self . _mediator . localization_rename_menu_rename ( ) , 'my rename' )
    def test_localization_rename_menu_title ( self ) :
        self . _localization . _rename_menu_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_rename_menu_title ( ) , 'my title' )
    def test_localization_save_as_menu_already_exists ( self ) :
        self . _localization . _save_as_menu_already_exists = 'my already exists'
        self . _test . assume_equal ( self . _mediator . localization_save_as_menu_already_exists ( ) , 'my already exists' )
    def test_localization_save_as_menu_new_name ( self ) :
        self . _localization . _save_as_menu_new_name = 'my new name'
        self . _test . assume_equal ( self . _mediator . localization_save_as_menu_new_name ( ) , 'my new name' )
    def test_localization_save_as_menu_save ( self ) :
        self . _localization . _save_as_menu_save = 'my save'
        self . _test . assume_equal ( self . _mediator . localization_save_as_menu_save ( ) , 'my save' )
    def test_localization_save_as_menu_title ( self ) :
        self . _localization . _save_as_menu_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_save_as_menu_title ( ) , 'my title' )
    def test_localization_welcome_footing ( self ) :
        self . _localization . _welcome_footing = 'my footing'
        self . _test . assume_equal ( self . _mediator . localization_welcome_footing ( ) , 'my footing' )
    def test_localization_welcome_header ( self ) :
        self . _localization . _welcome_header = 'my header'
        self . _test . assume_equal ( self . _mediator . localization_welcome_header ( ) , 'my header' )
    def test_localization_welcome_title ( self ) :
        self . _localization . _welcome_title = 'my title'
        self . _test . assume_equal ( self . _mediator . localization_welcome_title ( ) , 'my title' )
